.class public Lcom/instagram/android/feed/a/a/l;
.super Ljava/lang/Object;
.source "FeedVideoPlayer.java"

# interfaces
.implements Lcom/instagram/android/feed/a/a/ag;


# static fields
.field private static final a:Ljava/lang/Class;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/Class",
            "<*>;"
        }
    .end annotation
.end field


# instance fields
.field private final b:Landroid/support/v4/app/Fragment;

.field private final c:Lcom/instagram/b/d;

.field private final d:Landroid/view/animation/Animation;

.field private final e:Landroid/view/animation/Animation;

.field private final f:Lcom/instagram/android/feed/a/a/s;

.field private g:Lcom/instagram/android/feed/a/a/q;

.field private h:Lcom/instagram/android/feed/a/a/r;

.field private i:Lcom/instagram/android/v/b/d;

.field private j:I

.field private k:Lcom/instagram/j/l;

.field private l:Lcom/instagram/android/feed/a/b/ae;

.field private m:Z

.field private n:Z

.field private o:Z


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 38
    const-class v0, Lcom/instagram/android/feed/a/a/l;

    sput-object v0, Lcom/instagram/android/feed/a/a/l;->a:Ljava/lang/Class;

    return-void
.end method

.method public constructor <init>(Landroid/support/v4/app/Fragment;Lcom/instagram/b/d;)V
    .locals 3
    .parameter
    .parameter

    .prologue
    const/4 v2, 0x0

    const/4 v1, 0x1

    .line 74
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 51
    new-instance v0, Lcom/instagram/android/feed/a/a/s;

    invoke-direct {v0, p0, v2}, Lcom/instagram/android/feed/a/a/s;-><init>(Lcom/instagram/android/feed/a/a/l;Lcom/instagram/android/feed/a/a/m;)V

    iput-object v0, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    .line 64
    const/4 v0, -0x1

    iput v0, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    .line 65
    iput-object v2, p0, Lcom/instagram/android/feed/a/a/l;->k:Lcom/instagram/j/l;

    .line 71
    iput-boolean v1, p0, Lcom/instagram/android/feed/a/a/l;->n:Z

    .line 72
    iput-boolean v1, p0, Lcom/instagram/android/feed/a/a/l;->o:Z

    .line 75
    iput-object p1, p0, Lcom/instagram/android/feed/a/a/l;->b:Landroid/support/v4/app/Fragment;

    .line 76
    iput-object p2, p0, Lcom/instagram/android/feed/a/a/l;->c:Lcom/instagram/b/d;

    .line 78
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->b:Landroid/support/v4/app/Fragment;

    invoke-virtual {v0}, Landroid/support/v4/app/Fragment;->getContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Lcom/facebook/ar;->cover_photo_fade_in:I

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/feed/a/a/l;->d:Landroid/view/animation/Animation;

    .line 80
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->b:Landroid/support/v4/app/Fragment;

    invoke-virtual {v0}, Landroid/support/v4/app/Fragment;->getContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Lcom/facebook/ar;->cover_photo_fade_out:I

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/feed/a/a/l;->e:Landroid/view/animation/Animation;

    .line 82
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/feed/a/a/l;)Lcom/instagram/android/feed/a/a/s;
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    return-object v0
.end method

.method static synthetic a(Lcom/instagram/android/feed/a/a/l;ZZ)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 36
    invoke-direct {p0, p1, p2}, Lcom/instagram/android/feed/a/a/l;->a(ZZ)V

    return-void
.end method

.method private a(Lcom/instagram/j/l;I)V
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 201
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->b:Landroid/support/v4/app/Fragment;

    invoke-virtual {v0}, Landroid/support/v4/app/Fragment;->r()Z

    move-result v0

    if-nez v0, :cond_0

    .line 215
    :goto_0
    return-void

    .line 208
    :cond_0
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 209
    const-string v1, "LegacyVideoPlayerFragment.MEDIA_ID"

    invoke-virtual {p1}, Lcom/instagram/j/l;->c()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 210
    const-string v1, "LegacyVideoPlayerFragement.POSITION"

    invoke-virtual {v0, v1, p2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 212
    new-instance v1, Lcom/instagram/android/util/t;

    iget-object v2, p0, Lcom/instagram/android/feed/a/a/l;->b:Landroid/support/v4/app/Fragment;

    invoke-virtual {v2}, Landroid/support/v4/app/Fragment;->m()Landroid/support/v4/app/r;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/instagram/android/util/t;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/feed/a/a/t;

    invoke-direct {v2}, Lcom/instagram/android/feed/a/a/t;-><init>()V

    invoke-virtual {v1, v2, v0}, Lcom/instagram/android/util/t;->a(Landroid/support/v4/app/f;Landroid/os/Bundle;)Lcom/instagram/android/util/t;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/util/t;->a()V

    goto :goto_0
.end method

.method private a(ZZ)V
    .locals 6
    .parameter
    .parameter

    .prologue
    const/4 v5, 0x0

    const/4 v2, 0x1

    const/4 v4, 0x0

    const/4 v3, -0x1

    .line 222
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    invoke-virtual {v0, v2}, Lcom/instagram/android/feed/a/a/s;->removeMessages(I)V

    .line 223
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    const/4 v1, 0x5

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a/s;->removeMessages(I)V

    .line 224
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a/s;->removeMessages(I)V

    .line 225
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a/s;->removeMessages(I)V

    .line 226
    iput-boolean v2, p0, Lcom/instagram/android/feed/a/a/l;->o:Z

    .line 228
    iget v0, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    if-eq v0, v3, :cond_1

    .line 229
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->a()V

    .line 231
    if-eqz p1, :cond_2

    .line 232
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a/s;->sendEmptyMessage(I)Z

    .line 237
    :goto_0
    invoke-static {}, Lcom/instagram/android/mediacache/n;->a()Lcom/instagram/android/mediacache/n;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/feed/a/a/l;->k:Lcom/instagram/j/l;

    invoke-virtual {v1}, Lcom/instagram/j/l;->s()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/mediacache/n;->b(Landroid/net/Uri;)V

    .line 241
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/b/ae;->a()Lcom/instagram/android/mediacache/i;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->key_list_position:I

    invoke-virtual {v0, v1}, Lcom/instagram/android/mediacache/i;->getTag(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    .line 242
    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iget v1, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    if-ne v0, v1, :cond_0

    .line 243
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/b/ae;->d()Lcom/instagram/creation/video/ui/MediaActionsView;

    move-result-object v0

    .line 244
    if-eqz p2, :cond_3

    .line 245
    sget-object v1, Lcom/instagram/creation/video/ui/g;->g:Lcom/instagram/creation/video/ui/g;

    invoke-virtual {v0, v1}, Lcom/instagram/creation/video/ui/MediaActionsView;->setVideoIconState(Lcom/instagram/creation/video/ui/g;)V

    .line 252
    :goto_1
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/b/ae;->a()Lcom/instagram/android/mediacache/i;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/mediacache/i;->clearAnimation()V

    .line 253
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/b/ae;->a()Lcom/instagram/android/mediacache/i;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/instagram/android/mediacache/i;->setVisibility(I)V

    .line 255
    :cond_0
    iput-object v5, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    .line 256
    iput v3, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    .line 257
    iput-object v5, p0, Lcom/instagram/android/feed/a/a/l;->k:Lcom/instagram/j/l;

    .line 258
    iput-boolean v4, p0, Lcom/instagram/android/feed/a/a/l;->m:Z

    .line 260
    :cond_1
    return-void

    .line 234
    :cond_2
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->e()V

    goto :goto_0

    .line 246
    :cond_3
    iget-object v1, p0, Lcom/instagram/android/feed/a/a/l;->g:Lcom/instagram/android/feed/a/a/q;

    if-eqz v1, :cond_4

    iget-object v1, p0, Lcom/instagram/android/feed/a/a/l;->g:Lcom/instagram/android/feed/a/a/q;

    iget v2, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    invoke-interface {v1, v2}, Lcom/instagram/android/feed/a/a/q;->e(I)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 248
    sget-object v1, Lcom/instagram/creation/video/ui/g;->b:Lcom/instagram/creation/video/ui/g;

    invoke-virtual {v0, v1}, Lcom/instagram/creation/video/ui/MediaActionsView;->setVideoIconState(Lcom/instagram/creation/video/ui/g;)V

    goto :goto_1

    .line 250
    :cond_4
    sget-object v1, Lcom/instagram/creation/video/ui/g;->d:Lcom/instagram/creation/video/ui/g;

    invoke-virtual {v0, v1}, Lcom/instagram/creation/video/ui/MediaActionsView;->setVideoIconState(Lcom/instagram/creation/video/ui/g;)V

    goto :goto_1
.end method

.method static synthetic a(Lcom/instagram/android/feed/a/a/l;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 36
    iput-boolean p1, p0, Lcom/instagram/android/feed/a/a/l;->n:Z

    return p1
.end method

.method static synthetic b(Lcom/instagram/android/feed/a/a/l;)Lcom/instagram/android/feed/a/b/ae;
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    return-object v0
.end method

.method static synthetic b(Lcom/instagram/android/feed/a/a/l;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 36
    iput-boolean p1, p0, Lcom/instagram/android/feed/a/a/l;->o:Z

    return p1
.end method

.method static synthetic c(Lcom/instagram/android/feed/a/a/l;)Z
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-boolean v0, p0, Lcom/instagram/android/feed/a/a/l;->n:Z

    return v0
.end method

.method static synthetic d(Lcom/instagram/android/feed/a/a/l;)Landroid/view/animation/Animation;
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->e:Landroid/view/animation/Animation;

    return-object v0
.end method

.method static synthetic e(Lcom/instagram/android/feed/a/a/l;)Z
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-boolean v0, p0, Lcom/instagram/android/feed/a/a/l;->m:Z

    return v0
.end method

.method static synthetic f(Lcom/instagram/android/feed/a/a/l;)Lcom/instagram/j/l;
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->k:Lcom/instagram/j/l;

    return-object v0
.end method

.method static synthetic g(Lcom/instagram/android/feed/a/a/l;)I
    .locals 1
    .parameter

    .prologue
    .line 36
    iget v0, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    return v0
.end method

.method static synthetic g()Ljava/lang/Class;
    .locals 1

    .prologue
    .line 36
    sget-object v0, Lcom/instagram/android/feed/a/a/l;->a:Ljava/lang/Class;

    return-object v0
.end method

.method private h()Lcom/instagram/android/v/b/d;
    .locals 2

    .prologue
    .line 274
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->i:Lcom/instagram/android/v/b/d;

    if-nez v0, :cond_0

    .line 275
    invoke-static {}, Lcom/instagram/creation/video/c/b;->a()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 276
    new-instance v0, Lcom/instagram/android/v/b/a;

    invoke-direct {v0}, Lcom/instagram/android/v/b/a;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/feed/a/a/l;->i:Lcom/instagram/android/v/b/d;

    .line 281
    :goto_0
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->i:Lcom/instagram/android/v/b/d;

    new-instance v1, Lcom/instagram/android/feed/a/a/n;

    invoke-direct {v1, p0}, Lcom/instagram/android/feed/a/a/n;-><init>(Lcom/instagram/android/feed/a/a/l;)V

    invoke-virtual {v0, v1}, Lcom/instagram/android/v/b/d;->a(Lcom/instagram/android/v/b/f;)V

    .line 289
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->i:Lcom/instagram/android/v/b/d;

    new-instance v1, Lcom/instagram/android/feed/a/a/o;

    invoke-direct {v1, p0}, Lcom/instagram/android/feed/a/a/o;-><init>(Lcom/instagram/android/feed/a/a/l;)V

    invoke-virtual {v0, v1}, Lcom/instagram/android/v/b/d;->a(Lcom/instagram/android/v/b/g;)V

    .line 318
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->i:Lcom/instagram/android/v/b/d;

    new-instance v1, Lcom/instagram/android/feed/a/a/p;

    invoke-direct {v1, p0}, Lcom/instagram/android/feed/a/a/p;-><init>(Lcom/instagram/android/feed/a/a/l;)V

    invoke-virtual {v0, v1}, Lcom/instagram/android/v/b/d;->a(Lcom/instagram/android/v/b/e;)V

    .line 333
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->i:Lcom/instagram/android/v/b/d;

    return-object v0

    .line 278
    :cond_1
    new-instance v0, Lcom/instagram/android/v/b/b;

    invoke-direct {v0}, Lcom/instagram/android/v/b/b;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/feed/a/a/l;->i:Lcom/instagram/android/v/b/d;

    goto :goto_0
.end method

.method static synthetic h(Lcom/instagram/android/feed/a/a/l;)Lcom/instagram/b/d;
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->c:Lcom/instagram/b/d;

    return-object v0
.end method

.method static synthetic i(Lcom/instagram/android/feed/a/a/l;)Lcom/instagram/android/v/b/d;
    .locals 1
    .parameter

    .prologue
    .line 36
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v0

    return-object v0
.end method

.method static synthetic j(Lcom/instagram/android/feed/a/a/l;)Landroid/view/animation/Animation;
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->d:Landroid/view/animation/Animation;

    return-object v0
.end method


# virtual methods
.method public a(ILcom/instagram/j/l;)Lcom/instagram/creation/video/ui/g;
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 338
    invoke-virtual {p2}, Lcom/instagram/j/l;->h()Lcom/instagram/model/a/a;

    move-result-object v0

    sget-object v1, Lcom/instagram/model/a/a;->b:Lcom/instagram/model/a/a;

    if-eq v0, v1, :cond_0

    .line 339
    sget-object v0, Lcom/instagram/creation/video/ui/g;->a:Lcom/instagram/creation/video/ui/g;

    .line 363
    :goto_0
    return-object v0

    .line 340
    :cond_0
    invoke-static {}, Lcom/instagram/creation/video/c/b;->a()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 342
    sget-object v0, Lcom/instagram/creation/video/ui/g;->d:Lcom/instagram/creation/video/ui/g;

    goto :goto_0

    .line 345
    :cond_1
    iget v0, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    if-ne v0, p1, :cond_6

    .line 346
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v0

    .line 347
    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->k()Z

    move-result v1

    if-nez v1, :cond_2

    .line 348
    sget-object v0, Lcom/instagram/creation/video/ui/g;->c:Lcom/instagram/creation/video/ui/g;

    goto :goto_0

    .line 349
    :cond_2
    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->h()Z

    move-result v1

    if-eqz v1, :cond_4

    .line 350
    iget-boolean v0, p0, Lcom/instagram/android/feed/a/a/l;->n:Z

    if-eqz v0, :cond_3

    .line 351
    sget-object v0, Lcom/instagram/creation/video/ui/g;->a:Lcom/instagram/creation/video/ui/g;

    goto :goto_0

    .line 353
    :cond_3
    sget-object v0, Lcom/instagram/creation/video/ui/g;->f:Lcom/instagram/creation/video/ui/g;

    goto :goto_0

    .line 355
    :cond_4
    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->j()Z

    move-result v0

    if-eqz v0, :cond_5

    .line 356
    sget-object v0, Lcom/instagram/creation/video/ui/g;->d:Lcom/instagram/creation/video/ui/g;

    goto :goto_0

    .line 358
    :cond_5
    sget-object v0, Lcom/instagram/creation/video/ui/g;->e:Lcom/instagram/creation/video/ui/g;

    goto :goto_0

    .line 360
    :cond_6
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->g:Lcom/instagram/android/feed/a/a/q;

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->g:Lcom/instagram/android/feed/a/a/q;

    invoke-interface {v0, p1}, Lcom/instagram/android/feed/a/a/q;->e(I)Z

    move-result v0

    if-eqz v0, :cond_7

    .line 361
    sget-object v0, Lcom/instagram/creation/video/ui/g;->b:Lcom/instagram/creation/video/ui/g;

    goto :goto_0

    .line 363
    :cond_7
    sget-object v0, Lcom/instagram/creation/video/ui/g;->d:Lcom/instagram/creation/video/ui/g;

    goto :goto_0
.end method

.method public a(ILcom/instagram/j/l;Lcom/instagram/android/feed/a/b/ae;)V
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 109
    iget-boolean v0, p0, Lcom/instagram/android/feed/a/a/l;->o:Z

    if-nez v0, :cond_1

    .line 110
    sget-object v0, Lcom/instagram/android/feed/a/a/l;->a:Ljava/lang/Class;

    const-string v1, "Video touch blocked"

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->a(Ljava/lang/Class;Ljava/lang/String;)V

    .line 139
    :cond_0
    :goto_0
    return-void

    .line 114
    :cond_1
    iget v0, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    if-eq v0, p1, :cond_3

    .line 115
    invoke-static {}, Lcom/instagram/creation/video/c/b;->a()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->b:Landroid/support/v4/app/Fragment;

    instance-of v0, v0, Lcom/instagram/android/feed/a/a/t;

    if-nez v0, :cond_2

    .line 117
    invoke-direct {p0, p2, p1}, Lcom/instagram/android/feed/a/a/l;->a(Lcom/instagram/j/l;I)V

    goto :goto_0

    .line 119
    :cond_2
    const/4 v0, 0x0

    invoke-virtual {p0, p2, p3, p1, v0}, Lcom/instagram/android/feed/a/a/l;->a(Lcom/instagram/j/l;Lcom/instagram/android/feed/a/b/ae;IZ)V

    goto :goto_0

    .line 121
    :cond_3
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->k()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 122
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->h()Z

    move-result v0

    if-eqz v0, :cond_4

    .line 123
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->g()V

    .line 124
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/b/ae;->d()Lcom/instagram/creation/video/ui/MediaActionsView;

    move-result-object v0

    sget-object v1, Lcom/instagram/creation/video/ui/g;->e:Lcom/instagram/creation/video/ui/g;

    invoke-virtual {v0, v1}, Lcom/instagram/creation/video/ui/MediaActionsView;->a(Lcom/instagram/creation/video/ui/g;)V

    goto :goto_0

    .line 127
    :cond_4
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->i()Z

    move-result v0

    if-nez v0, :cond_5

    .line 128
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/b/ae;->a()Lcom/instagram/android/mediacache/i;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/feed/a/a/l;->e:Landroid/view/animation/Animation;

    invoke-virtual {v0, v1}, Lcom/instagram/android/mediacache/i;->startAnimation(Landroid/view/animation/Animation;)V

    .line 130
    :cond_5
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/b/ae;->d()Lcom/instagram/creation/video/ui/MediaActionsView;

    move-result-object v1

    iget-boolean v0, p0, Lcom/instagram/android/feed/a/a/l;->n:Z

    if-eqz v0, :cond_6

    sget-object v0, Lcom/instagram/creation/video/ui/g;->a:Lcom/instagram/creation/video/ui/g;

    :goto_1
    invoke-virtual {v1, v0}, Lcom/instagram/creation/video/ui/MediaActionsView;->a(Lcom/instagram/creation/video/ui/g;)V

    .line 135
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a/s;->removeMessages(I)V

    .line 136
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->d()V

    goto :goto_0

    .line 130
    :cond_6
    sget-object v0, Lcom/instagram/creation/video/ui/g;->f:Lcom/instagram/creation/video/ui/g;

    goto :goto_1
.end method

.method public a(Lcom/instagram/android/feed/a/a/q;)V
    .locals 0
    .parameter

    .prologue
    .line 89
    iput-object p1, p0, Lcom/instagram/android/feed/a/a/l;->g:Lcom/instagram/android/feed/a/a/q;

    .line 90
    return-void
.end method

.method public a(Lcom/instagram/android/feed/a/a/r;)V
    .locals 0
    .parameter

    .prologue
    .line 85
    iput-object p1, p0, Lcom/instagram/android/feed/a/a/l;->h:Lcom/instagram/android/feed/a/a/r;

    .line 86
    return-void
.end method

.method public a(Lcom/instagram/j/l;Lcom/instagram/android/feed/a/b/ae;IZ)V
    .locals 4
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    const/4 v2, 0x0

    .line 153
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->b:Landroid/support/v4/app/Fragment;

    invoke-virtual {v0}, Landroid/support/v4/app/Fragment;->r()Z

    move-result v0

    if-nez v0, :cond_1

    .line 198
    :cond_0
    :goto_0
    return-void

    .line 160
    :cond_1
    invoke-direct {p0, v2, v2}, Lcom/instagram/android/feed/a/a/l;->a(ZZ)V

    .line 162
    iput-object p2, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    .line 163
    iput p3, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    .line 164
    iput-object p1, p0, Lcom/instagram/android/feed/a/a/l;->k:Lcom/instagram/j/l;

    .line 165
    iput-boolean p4, p0, Lcom/instagram/android/feed/a/a/l;->m:Z

    .line 167
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v1

    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/b/ae;->a()Lcom/instagram/android/mediacache/i;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/mediacache/i;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    invoke-virtual {v1, v0, v2}, Lcom/instagram/android/v/b/d;->a(Landroid/widget/FrameLayout;I)V

    .line 169
    invoke-static {}, Lcom/instagram/android/mediacache/n;->a()Lcom/instagram/android/mediacache/n;

    move-result-object v0

    .line 171
    invoke-virtual {p1}, Lcom/instagram/j/l;->q()Z

    move-result v1

    if-eqz v1, :cond_2

    .line 172
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    iget-object v1, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    const/4 v2, 0x5

    invoke-virtual {p1}, Lcom/instagram/j/l;->r()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/feed/a/a/s;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a/s;->sendMessage(Landroid/os/Message;)Z

    .line 195
    :goto_1
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->h:Lcom/instagram/android/feed/a/a/r;

    if-eqz v0, :cond_0

    .line 196
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->h:Lcom/instagram/android/feed/a/a/r;

    invoke-interface {v0, p1, p3}, Lcom/instagram/android/feed/a/a/r;->a(Lcom/instagram/j/l;I)V

    goto :goto_0

    .line 174
    :cond_2
    invoke-virtual {p1}, Lcom/instagram/j/l;->s()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    .line 176
    invoke-virtual {v0, v1}, Lcom/instagram/android/mediacache/n;->c(Landroid/net/Uri;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 177
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->f:Lcom/instagram/android/feed/a/a/s;

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a/s;->a(Landroid/net/Uri;)V

    goto :goto_1

    .line 179
    :cond_3
    iget-object v2, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    invoke-virtual {v2}, Lcom/instagram/android/feed/a/b/ae;->d()Lcom/instagram/creation/video/ui/MediaActionsView;

    move-result-object v2

    sget-object v3, Lcom/instagram/creation/video/ui/g;->c:Lcom/instagram/creation/video/ui/g;

    invoke-virtual {v2, v3}, Lcom/instagram/creation/video/ui/MediaActionsView;->setVideoIconState(Lcom/instagram/creation/video/ui/g;)V

    .line 181
    const/4 v2, 0x1

    new-instance v3, Lcom/instagram/android/feed/a/a/m;

    invoke-direct {v3, p0, v1}, Lcom/instagram/android/feed/a/a/m;-><init>(Lcom/instagram/android/feed/a/a/l;Landroid/net/Uri;)V

    invoke-virtual {v0, v1, v2, v3}, Lcom/instagram/android/mediacache/n;->a(Landroid/net/Uri;ZLcom/instagram/android/mediacache/r;)V

    goto :goto_1
.end method

.method public a()Z
    .locals 2

    .prologue
    .line 93
    iget v0, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public b()I
    .locals 1

    .prologue
    .line 97
    iget v0, p0, Lcom/instagram/android/feed/a/a/l;->j:I

    return v0
.end method

.method public c()Lcom/instagram/j/l;
    .locals 1

    .prologue
    .line 101
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->k:Lcom/instagram/j/l;

    return-object v0
.end method

.method public d()V
    .locals 2

    .prologue
    const/high16 v1, 0x3f80

    .line 142
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/instagram/android/feed/a/a/l;->n:Z

    .line 143
    invoke-direct {p0}, Lcom/instagram/android/feed/a/a/l;->h()Lcom/instagram/android/v/b/d;

    move-result-object v0

    invoke-virtual {v0, v1, v1}, Lcom/instagram/android/v/b/d;->a(FF)V

    .line 144
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->l:Lcom/instagram/android/feed/a/b/ae;

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/b/ae;->d()Lcom/instagram/creation/video/ui/MediaActionsView;

    move-result-object v0

    sget-object v1, Lcom/instagram/creation/video/ui/g;->a:Lcom/instagram/creation/video/ui/g;

    invoke-virtual {v0, v1}, Lcom/instagram/creation/video/ui/MediaActionsView;->setVideoIconState(Lcom/instagram/creation/video/ui/g;)V

    .line 145
    return-void
.end method

.method public e()V
    .locals 2

    .prologue
    .line 218
    const/4 v0, 0x1

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/instagram/android/feed/a/a/l;->a(ZZ)V

    .line 219
    return-void
.end method

.method public f()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 266
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->i:Lcom/instagram/android/v/b/d;

    if-eqz v0, :cond_0

    .line 267
    invoke-direct {p0, v1, v1}, Lcom/instagram/android/feed/a/a/l;->a(ZZ)V

    .line 268
    iget-object v0, p0, Lcom/instagram/android/feed/a/a/l;->i:Lcom/instagram/android/v/b/d;

    invoke-virtual {v0}, Lcom/instagram/android/v/b/d;->f()V

    .line 269
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/instagram/android/feed/a/a/l;->i:Lcom/instagram/android/v/b/d;

    .line 271
    :cond_0
    return-void
.end method
